package com.example.springsecurity.service;

import com.example.springsecurity.common.Result;
import com.example.springsecurity.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService{

    Result<?> login(String name, String password);

    Result<?> logout();

    Result<?> register(User user);

    Result<?> update(User user);
}
